
Possible typo affecting autobilling
Reported by leprechaun | March 13th, 2009 @ 01:44 PM
modules/invoice/invoice.inc.php @ line ~1460 ...
while( !$ii->EOF ) { $srvc->invoiceItemToService(...); ... # child items ... $q = SELECT ..." $iii = $db->Execute( $q );
while( !$iii->EOF ) {
$srvc -> invoiceItemToService( $ii->fields['id'] ); #HERE!
} }
Logically enough, shouldn't this be $iii->fields[ 'id' ] instead of $ii ?
I'm tracing the code to upgrade and adding lots of logging ... found that ... this might be what's needed ... just seemed odd.
sorry about the bad code formatting ... is there syntax for that?
Comments and changes to this ticket
-
Tony Landis March 25th, 2009 @ 06:41 PM
Any behavior problems noted, or is it just the odd-looking code?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Open Source Billing, Invoicing, and Provisioning